package cn.wolfcode.domain;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Business {
    /** 主键*/
    private Long id;

    /** 门店名称*/
    private String name;

    /** 门店介绍*/
    private String intro;

    /** 经营范围*/
    private String scope;

    /** 门店电话*/
    private String tel;

    /** 门店地址*/
    private String address;

    /** 经营日期*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date open_date;

    /** 营业执照图片*/
    private String license_img;

    /** 营业执照号码*/
    private String license_number;

    /** 法人姓名*/
    private String legal_name;

    /** 法人电话*/
    private String legal_tel;

    /** 法人身份证*/
    private String legal_idcard;

    /** 门店性质(总店/分店)*/
    private Boolean main_store;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getOpen_date() {
        return open_date;
    }

    public void setOpen_date(Date open_date) {
        this.open_date = open_date;
    }

    public String getLicense_img() {
        return license_img;
    }

    public void setLicense_img(String license_img) {
        this.license_img = license_img;
    }

    public String getLicense_number() {
        return license_number;
    }

    public void setLicense_number(String license_number) {
        this.license_number = license_number;
    }

    public String getLegal_name() {
        return legal_name;
    }

    public void setLegal_name(String legal_name) {
        this.legal_name = legal_name;
    }

    public String getLegal_tel() {
        return legal_tel;
    }

    public void setLegal_tel(String legal_tel) {
        this.legal_tel = legal_tel;
    }

    public String getLegal_idcard() {
        return legal_idcard;
    }

    public void setLegal_idcard(String legal_idcard) {
        this.legal_idcard = legal_idcard;
    }

    public Boolean getMain_store() {
        return main_store;
    }

    public void setMain_store(Boolean main_store) {
        this.main_store = main_store;
    }
}